package com.xnyzc.lhy.mis.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 禁行区域表
 *
 * @author rhr
 * @since 2020-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysBillRuleEmbargo对象", description = "禁行区域表")
public class OaSysBillRuleEmbargo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty(value = "城市ID")
    private Integer cityId;

    @ApiModelProperty(value = "渠道ID")
    private Integer channelId;

    @ApiModelProperty(value = "车辆类型（经济、舒适、商务、豪华等）")
    private Integer vehicleType;

    @ApiModelProperty(value = "叫车方式-立即叫车/预约叫车/接机/送机/接站/送站")
    private Integer callType;

    @ApiModelProperty(value = "区域等级（省0，市1，区县2）")
    private int areaLevel;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "区域编码")
    private String areaCode;

    @ApiModelProperty(value = "起点禁运标识")
    private int startEmb;

    @ApiModelProperty(value = "终点禁运标识")
    private int endEmb;

    @ApiModelProperty(value = "禁运类型（0行政区划/1自定义区划）")
    private int embargoType;

    @ApiModelProperty(value = "拒绝区域类型")
    private int refuseType;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;



    public static final String RULE_ID = "rule_id";

    public static final String CITY_ID = "city_id";

    public static final String CHANNEL_ID = "channel_id";

    public static final String CALL_TYPE = "call_type";

    public static final  String AREA_LEVLE="area_level";

    public static final String AREA_CODE="area_code";

    public static final String START_EMB="start_emb";

    public static final String END_EMB="end_emb";

    public static final String EMBARGO_TYPE="embargo_type";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

    public static final String RULES_NAME = "rules_name";

    public static final String VEHICLE_TYPE = "vehicle_type";

}
